<template>
  <div class="header">
    <div class="header-tabbar">
      <div class="header-left">
        <img src="~assets/images/profile/设置@2x.png" alt="" />
      </div>
      <div class="header-right">
        <img src="~assets/images/profile/消息@2x.png" alt="" />
      </div>
    </div>
    <div class="center" @click="inforClick">
      <img src="~assets/images/profile/图层3拷贝@2x.png" alt="" />
      <p>旧诗人</p>
    </div>
    <div class="footer">
      <p class="footer-left">
        <img src="~assets/images/profile/分享@2x.png" alt="">
        <span>分享</span>
      </p>
      <p class="footer-right">
        <img src="~assets/images/profile/足迹@2x.png" alt="">
        <span>足迹</span>
      </p>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ProfileHeader',
  methods: {
    inforClick () {
       this.$router.push("/infor");
    }
  }

};
</script>

<style lang="less" scoped>
.header {
  background: #fff;
  height: 2.285rem;
  position: fixed;
  width: 100%;
  .header-tabbar {
    display: flex;
    width: 100%;
    justify-content: space-between;
    .header-left {
      width: 0.2rem;
      height: 0.2rem;
      margin-left: 0.15rem;
      margin-top: 0.175rem;
      img {
        width: 100%;
      }
    }
    .header-right {
      width: 0.18rem;
      height: 0.2rem;
      margin-right: 0.15rem;
      margin-top: 0.175rem;
      img {
        width: 100%;
      }
    }
  }
  .center {
    width: .8rem;
    height: .8rem;
    margin: .225rem 1.48rem .885rem 1.47rem;
    img {
      width: 100%;
    }
    p {
      font-size: .2rem;
      text-align: center;
      margin-top: .14rem;
    }
  }
  .footer {
    font-size: .14rem;
    margin-top: -.4rem;
    display: flex;
    justify-content: space-around;
    .footer-left {
      img {
        display: inline-block;
        width: .155rem;
        height: .2rem;
        margin-right: .11rem;
      }
    }
    .footer-right {
      img {
        display: inline-block;
        width: .19rem;
        height: .2rem;
        margin-right: .11rem;
      }
      
    }
  }
}
</style>